import request from '@/utils/request'
const baseurl = '/sys'

export function login(query) {
  return request.requestPost(baseurl + '/login', query)
}

export function getCodeImg(query) {
  return request.requestGet(baseurl + '/captchaImage', query)
}

export function getCodeImg1(actionName) {
  return request.adornUrl(actionName)
}

export function test() {
  return request.requestGet(baseurl + '/test')
}

